import { downLoad, request } from '../../../request';

/** 新增导气板 */
export function addVentBoard(data: any) {
  return request({
    url: '/qms/ventBoard/add/new',
    method: 'POST',
    data
  });
}

/** 编辑导气板 */
export function editVentBoard(data: any) {
  return request({
    url: '/qms/ventBoard/update',
    method: 'POST',
    data
  });
}

/** 报废导气板 */
export function scrapVentBoard(data: any) {
  return request({
    url: '/qms/ventBoard/scrap',
    method: 'POST',
    data
  });
}

/** 审核导气板 */
export function auditVentBoard(data: any) {
  return request({
    url: '/qms/ventBoard/check',
    method: 'POST',
    data
  });
}

/** 删除导气管 */
export function deleteVentBoard(data: any) {
  return request({
    url: '/qms/ventBoard/deleteBatch',
    method: 'POST',
    data
  });
}
